package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.NodeBody;
import com.flida.echart.basic.system.dao.NodeBodyDao;
import com.flida.echart.basic.system.service.INodeBodyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("nodeBodyService")
public class NodeBodyServiceImpl implements INodeBodyService {
    @Autowired
    private NodeBodyDao nodeBodyDao;


    public int deleteByPrimaryKey(String id) {

        return nodeBodyDao.deleteByPrimaryKey(id);
    }


    public int insert(NodeBody record) {

        return nodeBodyDao.insert(record);
    }


    public int insertSelective(NodeBody record) {

        return nodeBodyDao.insertSelective(record);
    }


    public NodeBody selectByPrimaryKey(String id) {

        return nodeBodyDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(NodeBody record) {

        return nodeBodyDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKeyWithBLOBs(NodeBody record) {

        return nodeBodyDao.updateByPrimaryKeyWithBLOBs(record);
    }

}
